﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Step4.Unit7.Model.Entities
{
    /// <summary>
    /// 债务人 (此实体为根据数据表手写的实体)
    /// </summary>
    [Table("Debtor")] // 最好是要指定下表名
    public class Debtor:BaseEntity
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public String? NickName { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string? IdCard { get; set; }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public String? HomeAddress { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 欠款总金额
        /// </summary>
        public int? TotalDebtorMoney { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Gender { get; set; }

    }
}
